export default {
  csUrl: (state) => {
    try {
      return state.h5Url.find((item) => {
        return item.tag === "CUSTOMER_SERVICE_LINK";
      }).url;
    } catch (error) {
      return "";
    }
  },
  websiteUrl: (state) => {
    try {
      return state.h5Url.find((item) => {
        return item.tag === "Official_Website";
      }).url;
    } catch (error) {
      return "";
    }
  },
};
